package com.example.controller;

import com.example.pojo.Emp1;
import com.example.pojo.Result;
import com.example.service.Emp1Service;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class LoginController {
    @Autowired
    Emp1Service emp1Service;
    @GetMapping("/login")
    public Result login(@RequestBody Emp1 emp1){
            return Result.success();

    }
}
